d/not-installed: work around dh-exec bug
authorHans van Kranenburg <hans@knorrie.org>
Sun, 24 Feb 2019 17:23:51 +0000 (18:23 +0100)
committerIan Jackson <ian.jackson@citrix.com>
Thu, 28 Feb 2019 16:14:15 +0000 (16:14 +0000)
dh-exec breaks dh_missing by failing to register the installed files.
Put a workaround in place.

Closes: #923013
Signed-off-by: Hans van Kranenburg <hans@knorrie.org>
debian/not-installed
debian/xen-utils-common.install

index 5ffa4475878f8f0010a48e2874a624c8593781cc..d05ea7908cd705e339c00d1d866e82e46f4ec853 100644 (file)
@@ -7,7 +7,13 @@ etc/init.d/xendriverdomain
 etc/init.d/xencommons
 etc/init.d/xen-watchdog
 etc/init.d/xendomains
+
+# The following two files are installed in xen-utils-common while
+# being renamed by dh-exec. However, dh-exec fails to register them
+# as installed. See bug #831786. Fool dh_missing by pretending
+# they're not installed at all, for now.
 etc/default/xencommons
+etc/bash_completion.d/xl.sh
 
 # This is all handled by debian/shuffle-boot-files,
 # which dh_missing does not know about.
index 60642c9a9c0e45949e5390616013fbdd3d86e284..58aad0a9fafbc23daba981d3f7ed2d2e0b71a6ab 100755 (executable)
@@ -1,5 +1,8 @@
 #! /usr/bin/dh-exec --with=install
 
+# Note: dh-exec breaks dh_missing by failing to register the
+# installed files.  Also see comments in debian/not-installed.
+
 etc/xen/scripts
 etc/xen/xl*
 etc/bash_completion.d/xl.sh => usr/share/bash-completion/completions/xl